<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>管理平台</title>
    <link href="/ui/favicon.ico" rel="shortcut icon" />
    <link href="/ui/css/login.css" rel="stylesheet" type="text/css" />
    <script>
        localStorage.removeItem("lockScreen");
        if (window.top !== window.self) { window.top.location = window.location; }
    </script>
</head>
<body>
<div style="text-align:center;">
    <p></p>
</div>
<div class="login_box">
    <div class="login_l_img"><img src="/ui/images/login-img.png" /></div>
    <div class="login">
        <div class="login_logo"><a href="#"><img src="/ui/images/login_logo.png" /></a></div>
        <div class="login_name">
            <p>管理平台</p>
        </div>
        <form id="dataForm" autocomplete="off">
            <input name="uname" id="uname" type="text" value="" placeholder="用户名" required>
            <input name="pwd" type="password" id="pwd" placeholder="密码" required />
            <input value="登录" style="width:100%;" type="submit">
            <div class="text-center p-t-8 p-b-31" style="color: red;">

            </div>
        </form>
    </div>
    <div class="copyright">网关数据管理平台</div>
</div>

<!--统计代码，可删除-->
<script src="/ui/js/jquery.min.js"></script>
<script src="/ui/js/bootstrap.min.js"></script>
<script src="/ui/plugins/blockUI/jquery.blockUI.js"></script>
<script src="/ui/plugins/layer/layer.min.js"></script>
<script src="/ui/plugins/nice-validator-1.1.5/dist/jquery.validator.min.js?local=zh-CN"></script>
<script src="/ui/easycms/js/jutils.js"></script>
<script>
    $(function () {
        $('#dataForm').validator({
            stopOnError: false,
            timely: 2,
            theme: "yellow_right",
            valid: function (form) {
                //console.log(form);
                jutils.ajaxPost("/Loginon", $(form).serialize(), function (res) {
                    if (res.status) {
                        location.href = res.data.url;
                    }
                });
            },
        });
    });

</script>
</body>
</html>


